<!-- <app-common-header [title]="'NO PASSWORD FOR MICROPAYMENTS'"
  [routerUrl]="'/tabs/myAccount/setting/payment-settings/free-payment'">
</app-common-header> -->
<ion-header>
  <ion-toolbar>
    <ion-title size="large">
      <div class="title-content">
        <div class="title_item1">
          <ion-icon name="chevron-back-outline" (click)="routerBack()"></ion-icon>
        </div>
        <div class="title_item2">
          NO PASSWORD FOR MICROPAYMENTS
        </div>
      </div>
    </ion-title>
  </ion-toolbar>
</ion-header>

<ion-content>
  <div class="content">
    <div class="">
      <ion-grid class="ion-padding-vertical full">
        <ion-row>
          <ion-col size="9" class="toggle_text">
            <ion-text color="">
              {{'myAccount.setting.payment_settings.micro_payments_setting.seleced_amount.toggle_title' | translate}}
            </ion-text>
          </ion-col>
          <ion-col size="3" class="">
            <ion-toggle name="toggle" [ngClass]="{'toggle_off':toggleDisabled,'toggle_on': !toggleDisabled}" [(ngModel)]="togglChecked"  class="toggle_width" 
              (click)="clickToggle($event)"></ion-toggle>
          </ion-col>
        </ion-row>
      </ion-grid>
    </div>
    <div class="">
      <ion-grid class="ion-padding-vertical">
        <ion-row>
          <ion-col size="12" class="toggle_text">
            <ion-text color="">
              {{'myAccount.setting.payment_settings.micro_payments_setting.seleced_amount.explain' | translate}}
            </ion-text>
          </ion-col>
        </ion-row>
        <ion-row>
          <ion-col *ngFor="let item of amtButtons" size="{{item.size}}">
            <ion-button expand="full" color="{{item.color}}" (click)="clickBtn($event,item)" [disabled]="item.disabled">
               $ {{item.amt}} </ion-button>
          </ion-col>
        </ion-row>
      </ion-grid>
    </div>
  </div>
</ion-content>